package com.love.zywanandroid.retrofit.api

/**
 * @author zy
 * @date :2019-02-04 09:56
 * @description:
 */
class HttpUrl {

    companion object {
        //                const val URL_IMG = "http://52.82.11.129:8081"
        //服务器
//                const val URL_ORIGIN = "http://124.70.191.254:9002";
//                const val URL_ORIGIN = "http://192.168.3.12:9002";
        //海尔
//        const val URL_ORIGIN = "https://mes.cosmoplat.com"
        //海尔测试
//             const val URL_ORIGIN = "http://mes.qingdao.cosmoplat.com"
        //本地
//        const val URL_ORIGIN = "http://192.168.101.8:9002"
            //
        /**********************************/
       // const val URL_ORIGIN = "http://60.205.209.104:9002"
       const val URL_ORIGIN = "http://192.168.3.12:9002"
//////////////////////////////////////////////
            //服务
        const val URL_BASE = URL_ORIGIN + "/system/"
        //关于我们
        const val URL_ABOUT = ""
//        const val URL_ABOUT = "https://fz.cosmoplat.com"
        /**
         * 企业查询
         */
        const val URL_COM = "login/getcom";
        /**
         * 登录
         */
        const val URL_LOGIN = "login/enter"
        /**
         * 修改密码
         */
        const val URL_UPDATE_PWD = "login/updatepassward"
        /**
         * 注销
         */
        const val URL_LOGOUT = "login/logout"
        /**
         * 公告
         */
//        const val URL_MESSAGE = "sysmessage/selectAll"
        const val URL_MESSAGE = "sysmessage/selectEmpApp"
        /**
         * 签到退 列表
         */
        const val URL_CLOCKLIST = "work/workempcheckin/selectself"
        /**
         * 删除
         */
        const val URL_CLOCDEL = "work/workempcheckin/delete"
        /**
         * 签到签退
         */
        const val URL_CLOCKINSERT = "work/workempcheckin/insert"
        /**
         * 组长查询员工的签到记录
         */
        const val URL_CLOCREADLIST = "work/workempcheckin/selectgroup"
        /**
         * 组长审核
         */
        const val URL_CLOCREAD = "work/workempcheckin/clockread"
        /**
         * 组长取消审核
         */
        const val URL_CLOCUNREAD = "work/workempcheckin/clockunread"
        /**
         * 人员设备绑定
         */
        const val URL_WORK_EMP_BIND = "work/workempbind/insert"
        /**
         * 绑定设备列表
         */
        const val URL_WORK_EMP_BIND_LIST = "work/workempbind/selectByEmpId"
        /**
         * 解绑
         */
        const val URL_WORK_EMP_BIND_DEL = "work/workempbind/delete"
        /**
         * 首页menu
         */
        const val URL_SYSMENU = "system/sysMenu/homemenubymo"
        /**
         * 权限
         */
        const val URL_SELECT_AUTH = "systemmanage/position/selectauth"
        /**
         * 查询各个组织下的班组
         */
        const val URL_ORG_CLASSLIST = "systemmanage/sysOrganization/queryallbyid"
        /**
         * 查询每个班组下是人员列表
         */
        const val URL_GET_CLASS_EMPLIST = "systemmanage/sysEmployee/queryallss"
        /**
         * 根据日期 classid 查询日生产计划的员工列表
         */
//        const val URL_DAY_PLAN_EMPLIST = "order/plandayproduce/querybyclassid"
        const val URL_DAY_PLAN_EMPLIST = "neworder/plandayworkersegment/querybyclassid"
        /**
         * 根据日期人员id 查询日生产计划
         */
//        const val URL_DAY_PLAN_PRODUCE = "order/plandayproduce/querybyday"
        const val URL_DAY_PLAN_PRODUCE = "neworder/plandayworkersegment/querybyday"
        /**
         * 根据二维码查询裁片包 做工
         */
        const val URL_GET_PACK = "producecut/cutpackage/querybyqr"
        /**
         * 根据二维码查询裁片包 质检
         */
        const val URL_GET_PACK_QC = "producecut/cutpackage/querybyqrQc"
        /**
         * 修改数量查询
         */
        const val URL_GET_PACK_UPDATE = "producecut/cutpackage/querybyqrUpdate"

        /**
         * 根据二维码查询裁片包(领取)
         */
        const val URL_GET_PACK_GO = "producecut/cutpackage/querybyqrgo"
        /**
         * 根据RFID查询裁片包(领取)
         */
        const val URL_GET_PACK_RFID_GO = "producecut/cutpackage/querybyRfidgo"
        /**
         * 根据RFID查询裁片包做工
         */
        const val URL_GET_PACK_RFID = "producecut/cutpackage/querybyRFIDcode"
        /**
         * 根据RFID查询裁片包质检
         */
        const val URL_GET_PACK_RFID_QC = "producecut/cutpackage/querybyRFIDcodeQc"

        /**
         * 根据RFID查询裁片包
         */
        const val URL_GET_PACK_RFID_UPDATE = "producecut/cutpackage/querybyRFIDcodeUpdate"
        /**
         * 插入日计划记录
         */
        const val URL_INSERT_RECORD = "work/workrecord/insert"
        /**
         * 扫码查看日计划工序列表
         */
        const val URL_GET_SCAN_DAY_PLAN = "work/workrecord/queryallplan"
        /**
         * 根据班组id，日期查询该班组下的人员以及每个人员的计划数量
         */
        const val URL_WORK_RECORD_EMPLIST = "work/workrecord/querybyclassid"
        /**
         * 根据日期 人员id 查询 员工日计划记录
         */
        const val URL_WORK_RECORD_LIST = "work/workrecord/selectbyday"
        /**
         * 查询上一次的日记录
         */
        const val URL_WORK_LAST = "work/workrecord/findbyempidandworkday"
        /**
         * 质检计划列表
         */
        const val URL_QC_PLAN = "producecut/workqcplan/selectapp"
        /**
         *查询巡检记录
         */
        const val URL_WORK_QC_RECORD = "producecut/workqcrecord/select"
        /**
         * 提交参数获取
         */
        const val URL_PARENTID = "basics/basebussparamtype/querybyparenttypeid"
        /**
         * 插入质检记录
         */
        const val URL_INSERT_QCRECORD = "producecut/workqcrecord/insert"
        /**
         * 质检记录根据id查询
         */
        const val URL_RECORD_BYID = "producecut/workqcrecord/selectbyid"
        /**
         * 组长查询质检记录
         */
        const val URL_WORK_RECORD_BY_CLASS_BOSS = "producecut/workqcrecord/selectbyclassboss"
        /**
         * 组长处理质检详情
         */
        const val URL_QC_RECORD_UPDATE = "producecut/workqcrecord/update"
        /**
         * 代办事项
         */
        const val URL_TODO_LIST = "systemmanage/systodoitem/select"
        const val URL_TODO_LIST_NEW = "systemmanage/systodoitem/queryTodosApp"
        /**
         * 代办事项 设置完成
         */
        const val URL_TODO_STAtUS = "systemmanage/systodoitem/update"
        /**
         * 根据 packid orderid empid 查询 日记录
         */
        const val URL_WORK_RECORD_PACKID = "work/workrecord/selectbyPackId"
        /**
         * 检查app版本更新
         */
        const val URL_CHECK_APK = "systemmanage/sysapk/selectByVersionCode"
        /**
         * 获取海尔token
         */
        const val URL_GETACCESSTOKEN = "login/getaccesstoken"
        /**
         * 获取图形验证码
         */
        const val URL_GETAPTCHA = "login/captcha"
        /**
         * 获取短信验证码
         */
        const val URL_GETMSCODE = "login/smscode"
        /**
         * 提交注册
         */
        const val URL_SIGNUPUCC = "login/signupucc"
        /**
         * 修改首次登录
         */
        const val URL_UPDATEISFIRST = "login/updateisfirst"
        /**
         * 没有安排日计划的做工
         */
        const val URL_WORK_NO_PLAN = "work/workrecord/saveworkempworkrecord"
        /**
         * 质检分派接收后完成做工
         */
        const val URL_WORK_QC_SU = "producecut/workqcrecord/updateByWorker"
        /**
         * 质检员查询自己的质检记录
         */
        const val URL_WORK_QC_HIS = "producecut/workqcrecord/selectbyxc"
        /**
         * 获取要领的裁片包
         */
        const val URL_GET_PACK_LIST = "producecut/cutpackage/queryallbyfid"
        /**
         * 获取已领的裁片包
         */
        const val URL_GET_PACK_LIST_HAS = "producecut/cutpackage/queryallbyfidHas"

        /**
         * 领取裁片包
         */
        const val URL_GET_PACK_GET = "producecut/cutpackage/updatestatus"

        /**
         * 获取员工工资
         */
        const val URL_GET_WORK_WAGE = "report/workcount/queryByApp"
        /**
         * 月工资汇总
         */
        const val URL_GET_MONTH_WAGE = ""
        /**
         * 修改裁片包数量
         */
        const val URL_GET_PACK_UPDATE_Qty = "producecut/cutpackage/updateQty"
        /**
         * 根据packid查询
         */
        const val URL_GET_PACK_BY_ID = "producecut/cutpackage/querybyid"

        /**
         * 获取外协数据
         */
        const val URL_GET_OUT_SOURCE_LIST = "outsource/management/selectbyapp"

        /**
         * 提交外协 bom
         */
        const val URL_POST_OUT_SOURCE_BOM = "outsource/management/updatebombyapp"

        /**
         * 获取外协 包pack
         */
        const val URL_POST_OUT_SOURCE_PACK = "outsource/management/updatepackagebyapp"

        /**
         * 外协入库 成品
         */
        const val URL_POST_OUT_SOURCE_PRODUCT = "outsource/management/updateorderoutbyapp"

        /**
         * 领纱
         */
        const val URL_YARN_IN = "neworder/yarnin/insert"
        /**
         * 退纱
         */
        const val URL_YARN_UN = "neworder/yarnun/insert"
        /**
         * 排班号
         */
        const val URL_SCHEDU_LIST = "neworder/workshopschedu/select"
        /**
         * 新增废片
         */
        const val URL_BAD_FLAT_ADD = "neworder/testscraps/insert"
        /**
         * 根据排班号查询班组
         */
        const val URL_SCHEDU_CLASS = "neworder/workshopschedu/selectallclass"

        /**
         * 根据排班号查询班组下的所有人
         */
        const val URL_SCHEDU_EMP = "neworder/workshopschedu/selectallempname"

        /**
         * 出入库 二维码
         */
        const val URL_HOUSE_QR = "producecut/cutpackage/querybyqrcodes"

        /**
         * 出入库 RFID
         */
        const val URL_HOUSE_RFID = "producecut/cutpackage/querybyoutorinRFIDcode"
        /**
         * 出入库 提交
         */
        const val URL_HOUSE_SAVE = "neworder/temporarystorage/inserttemporarystorage"

        /**
         * 扫码绑衣服
         */
        const val URL_CLOTHES_BIND = "neworder/piececodecutpackage/updatepiececodecutpackage"
        /**
         * 扫码查询设备
         */
        const val URL_MACHINE_SELECT_QR = "systemmanage/sysmachine/selectByQr"
        /**
         * 新增设备检查
         */
         const val URL_MACHINE_SHEET_ADD = "neworder/machinemaintenance/insertsheet"

        /**
         * 修改设备检查
         */
         const val URL_MACHINE_SHEET_UPDATE = "neworder/machinemaintenance/updatesheet"

        /**
         * 查询是否插入过相同的
         */
         const val URL_MACHINE_SHEET_SELECT = "neworder/machinemaintenance/selectSheet"

        /**
         * 查询机器检查列表
         */
         const val URL_MACHINE_SHEET_LIST = "neworder/machinemaintenance/selectallsheet"

        /**
         * 新增日保养
         */
        const val URL_MACHINE_CARE_DAY_ADD = "neworder/machinemaintenance/insertday"

        /**
         * 修改日保养
         */
        const val URL_MACHINE_CARE_DAY_UPDATE = "neworder/machinemaintenance/updateday"

        /**
         * 查询是否插入过相同的日保养
         */
        const val URL_MACHINE_CARE_DAY_SELECT = "neworder/machinemaintenance/selectday"

        /**
         * 查询日保养列表
         */
        const val URL_MACHINE_CARE_DAY_LIST = "neworder/machinemaintenance/selectallday"

        /**
         * 新增周保养
         */
        const val URL_MACHINE_CARE_WEEk_ADD = "neworder/machinemaintenance/insertweek"

        /**
         * 修改周保养
         */
        const val URL_MACHINE_CARE_WEEK_UPDATE = "neworder/machinemaintenance/updateweek"

        /**
         * 查询是否插入过相同的周保养
         */
        const val URL_MACHINE_CARE_WEEK_SELECT = "neworder/machinemaintenance/selectweek"

        /**
         * 查询周保养列表
         */
        const val URL_MACHINE_CARE_WEEK_LIST = "neworder/machinemaintenance/selectallweek"
        /**
         * 查询日计划更改 通知
         */
        const val URL_DAY_PLAN_CHANGE_SELECT = "neworder/planoperationstatus/selectall"

        /**
         * 公告 通知形式
         */
        const val URL_MESSAGE_NOTIFI = "sysmessage/selectsysmessage"
        /**
         * 物料通知
         */
        const val URL_BOM_NOTIFI = "neworder/planmonthorder/selectAppEmp"
        /**
         * 扫箱码
         */
        const val URL_SELECT_BOX = "neworder/boxcode/orderstyleboxcode"
        /**
         * 装箱
         */
        const val URL_SKU_IN_BOX = "neworder/boxcode/updatebillbox"
        /**
         * 上传图片
         */
        const val URL_PIC_UPLOAD = "systemmanage/file/fileUpload"
        /**
         * 更换头像
         */
        const val URL_UPDATE_EMP_IMG = "systemmanage/sysEmployee/updateImg"

        /**
         * 获取款式资料
         */
        const val URL_GET_STYLE_FILE = "neworder/matchingcylinder/selectbyapp"
        /**
         * 插入机器预警
         */
        const val URL_INSERT_MACHINE_WARN = "systemmanage/position/insertmachinewarningemp"
        /**
         * 班组长查询预警
         */
        const val URL_SELECT_MACHINE_WARN = "systemmanage/position/selectempall"
        /**
         * 设置倒毛数量
         */
        const val URL_SET_DM_QTY = "work/workempentropion/insert"

        /**
         * 领纱列表
         */
        const val URL_YARN_IN_LIST = "neworder/yarnin/findall"
        /**
         * 退纱列表
         */
        const val URL_YARN_UN_LIST = "neworder/yarnun/findall"
        /**
         * 废片列表
         */
        const val URL_BAD_FLAT_LIST = "neworder/testscraps/selectall"

        /**
         * 新增拆解单
         */
        const val URL_DISASSEMBLEY_INSERT = "neworder/disassemblylist/insert"

        /**
         * 根据制单号查询加工单
         */
        const val URL_ORDER_JIAGONG = "neworder/rawmaterialrequisition/selectapprawall"
        /**
         * 根据加工单查询领用单
         */
        const val URL_ORDER_BOM = "neworder/rawmaterialrequisition/findall"


        /**
         * app-查询当前登录员工的生产计划
         */
        const val URL_FIND_PROGRAM = "program/scheduling/findProgramByEmpIdDate"


        /**
         * app-查询机台的生产计划
         */
        const val URL_FIND_PROGRAM_BY_MACHINE_IDDDATE= "program/scheduling/findProgramByMachineIddDate"

        /**
         *app-修改生产数量
         */
        const val UPDATE_PRODUCE_QTY= "program/scheduling/updateProducedQty"

        /**
         *app-查看织片包(牌仔)详
         */
        const val  PAIZAIINFO="program/scheduling/paiZaiInfo"

        /**
         *app-查看织片包(牌仔)详
         */
        const val  SET_PAI_ZAI_PRODOUCED_QTY="program/scheduling/setPaiZaiProducedQty"
        /**
         *app-转移织片包数量
         */
        const val  TRAN_PAI_ZAI_PRODUCED_QTY="program/scheduling/tranPaiZaiProducedQty"

     /****
      *
      */
     const val  URL_FIND_PIECE_INFO="work/workrecord/findPieceInfo"
     const val  URL_SAVE_WORK="work/workrecord/saveworkempworkrecordV3"

    }

}